// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-01

package master

import (
	"gitee.com/go-wares/framework-iris/framework/src/logics"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/master/info/daily"
	"server/app/http/logics/master/logs"
)

// Controller
// 钓场管理员.
//
// @Middleware("authorizer")
// @Middleware("master")
type Controller struct{}

// GetInfoDaily
// 每日统计.
func (o *Controller) GetInfoDaily(i iris.Context) {
	logics.Do(i, daily.New)
}

// GetLogs
// 读取钓场操作日志.
func (o *Controller) GetLogs(i iris.Context) {
	logics.Do(i, logs.New)
}
